<?php

session_start();

if (isset($_POST)) {
    foreach ($_SESSION["panier"] as $key => $ligne) {
        if ($_POST["ID"] == $ligne["ID_Article"]) {

            unset($_SESSION["panier"][$key]);
        }
    }
}
?>
